<div class="ibox-content">
    <form class="form-horizontal" method="post" action="{:url('TenUser/editInfo')}">
        <input type="hidden" name="id" value="{$info['id']|default='0'}">
        <input type="hidden" name="username" value="{$info['username']|default='0'}">
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('账号')}</label>
            <div class="col-sm-8">
                <input name="username" class="form-control" type="text" placeholder="{:lang('账号')}" value="{$info['username']|default=''}"  readonly/>
                <span class="help-block m-b-none"></span> </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('真实名称')}</label>
            <div class="col-sm-8">
                <input name="realname" class="form-control" type="text" placeholder="{:lang('请输入')}{:lang('真实名称')}" value="{$info['realname']|default=''}"/>
                <span class="help-block m-b-none">（{:lang('用户真实')}{:lang('真实名称')}，{:lang('主要用于显示')}）</span> </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('性别')}</label>
            <div class="col-sm-8">
                <div class="radio i-checks">
                    <input type="radio" name="gender" value="1" {eq name="$info['gender']" value='1'} checked{/eq}/> {:lang('男')}
                    <input type="radio" name="gender" value="2" {eq name="$info['gender']" value='2'} checked{/eq}/> {:lang('女')}
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('手机')}</label>
            <div class="col-sm-8">
                <input name="mobile" class="form-control" type="text" placeholder="{:lang('输入')}{:lang('手机号码')}" value="{$info['mobile']|default=''}"/>
                <span class="help-block m-b-none"></span> </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">QQ</label>
            <div class="col-sm-8">
                <input name="qicq" class="form-control" type="text" placeholder="{:lang('输入')}QQ{:lang('号码')}" value="{$info['qicq']|default=''}"/>
                <span class="help-block m-b-none"></span> </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('邮箱')}</label>
            <div class="col-sm-8">
                <input name="email" class="form-control" type="email" placeholder="{:lang('输入')}{:lang('邮箱')}{:lang('地址')}" value="{$info['email']|default=''}"/>
                <span class="help-block m-b-none"></span> </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('描述')}</label>
            <div class="col-sm-8">
                <textarea name="remark" class="form-control" cols="80" rows="2">{$info['remark']|default=''}</textarea>
                <span class="help-block m-b-none"></span> </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                {include file="layout/save_btn"}
            </div>
        </div>
    </form>
</div>